#ifndef CIRCLE_H_
#define CIRCLE_H_
#include "shape.h"
#include <iostream>

const double pi = 3.1415926;

class Circle : public Shape {
private:
  double radius; // radius
public:
  Circle(double radius) : radius(radius) {}
  void setRadius(double radius) { this->radius = radius; }
  double area() { return pi * radius * radius; }
  double girth() { return 2 * pi * radius; }
  void show() {
    std::cout << "shape object: Circle"
              << "\n"
              << "radius: " << radius << std::endl;
  }
};
#endif